package com.backend.system.beans.role;

import com.backend.system.common.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

/**
 * 查询角色请求体
 *
 * @author backend-manage
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel
public class RoleQueryReq extends PageRequest implements Serializable {
    @Serial
    private static final long serialVersionUID = -8676281638900144439L;

    /**
     * 角色ID
     */
    @ApiModelProperty("角色ID")
    private Long id;

    /**
     * 角色编码
     */
    @ApiModelProperty("角色编码")
    private String code;

    /**
     * 角色名
     */
    @ApiModelProperty("角色名")
    private String roleName;
}
